﻿
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LogExceptionAdd.aspx.cs" Inherits="Ultimus.Web.LogExceptionAdd" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>异常日志记录</title>
    <link href="css/style.css" rel="stylesheet" rev="stylesheet" />
    <link href="css/global.css" rel="stylesheet" rev="stylesheet" />
    <script src="../Scripts/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
      <style type="text/css">
        body
        {
            background-color: White;
        }
        
        #main
        {
            margin-left: auto;
            margin-right: auto;
            margin-top: 2em;
            width: 80%;
        }
        #left
        {
            float: left;
            width: 60%;
        }
        #right
        {
            vertical-align: top;
            text-align: center;
        }
        #brand
        {
            border: 1px solid Black;
            margin-top: 2em;
            margin-left: 2em;
            background-color: #FFFFBB;
            width: 70%;
            height: 150px;
        }
     td
        {
            text-align: right;   
        }
        .textArea
        {
            width: 480px;
            height: 50px;
        }
        .CommonMsg
        {
            width: 480px;
        }
    </style>
    <script type="text/javascript">
        function CheckNum() {
            if ((event.keyCode < 48 || event.keyCode > 57) && event.keyCode != 46)
             event.returnValue = false;
        }
        function CheckFile() {
            var file = document.getElementById("file").value;
            if (file == "") {
                alert("请选择附件！");
                return false;
            }
        }
        function CheckAll() {
            var txtExDate = document.getElementById("txtExDate").value;
            var txtCheckDate = document.getElementById("txtCheckDate").value;
            var txtQueDate = document.getElementById("txtQueDate").value;
            var txtQianDate = document.getElementById("txtQianDate").value;


            if (txtExDate == "") {
                alert("异常操作时间不能为空！");
                document.getElementById("txtExDate").focus();
                return false;
            }
            if (txtCheckDate == "") {
                alert("核查时间不能为空！");
                document.getElementById("txtCheckDate").focus();
                return false;
            }
            if (txtQueDate == "") {
                alert("责任单位确认时间不能为空！");
                document.getElementById("txtQueDate").focus();
                return false;
            }
            if (txtQianDate == "") {
                alert("仲裁结论签发时间不能为空！");
                document.getElementById("txtQianDate").focus();
                return false;
            }
           
        }
    </script>
     <base target="_self"></base>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div id="right">
            <div class="place">
                <div class="placeleft">
                    <i></i>您当前的位置：<a href="">首页</a> >> <strong><b>流程异常日志记录单</b></strong>
                </div>
                <a href="#" class="shuaxin">刷新</a>
            </div>
            <%--class="currently"  endDate.focus();--%>
        </div>
        <div class="listTable_1">
            <div class="tableTab" id="tabs">
                <div class="place">
                    <div class="placeleft">
                        <ul>
                            <li class="currently" id="li0"><a href="#MyTask">流程异常日志记录单</a></li>
                           
                        </ul>
                    </div>
                  
                </div>
               <div id="main">
        <div id="left">
            <div id="top">
                <table > 
                <tr><td colspan=4  align="center" style="font-size:14px; font-weight:bold; text-align
                    :center">流程异常原始记录信息</td></tr>
                    <tr>
                        <td>
                            业务编号：</td>
                        <td>
                           
                            <asp:TextBox ID="txtNo" runat="server" MaxLength="50"></asp:TextBox>
                           
                        </td>
                        <td>
                            &nbsp;&nbsp; 流程标题：</td>
                        <td>
                            
                            <asp:TextBox ID="txtTitile" runat="server" MaxLength="50"></asp:TextBox>
                           
                        </td>
                    </tr>
                    <tr>
                        <td>
                            异常操作类型：
                        </td>
                        <td  style="text-align:left">
                            <asp:DropDownList ID="drpExList" runat="server">
                                <asp:ListItem Value="0">自动终止流程</asp:ListItem>
                                <asp:ListItem Value="1">自动终止任务</asp:ListItem>
                                <asp:ListItem Value="2">经办人手动终止流程</asp:ListItem>
                                <asp:ListItem Value="3">经办人手动终止任务</asp:ListItem>
                                <asp:ListItem Value="4">管理方手动终止流程</asp:ListItem>
                                <asp:ListItem Value="5">管理方手动终止任务</asp:ListItem>
                                <asp:ListItem Value="6">拒绝</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;
                            异常操作所在环节：</td>
                        <td>
                           <asp:TextBox ID="txtHuanjie" runat="server" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            
                            任务编号：</td>
                        <td>
                           <asp:TextBox ID="txtTaskNo" runat="server" MaxLength="50"></asp:TextBox>
                        </td>
                        <td>
                            &nbsp;
                            异常操作关闭环节：</td>
                        <td>
                            <asp:TextBox ID="txtCloseHuanjie" runat="server" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            异常操作人：</td>
                        <td>
                            <asp:TextBox ID="txtExUser" runat="server" MaxLength="50"></asp:TextBox></td>
                        <td>
                            &nbsp;
                            异常操作部门：</td>
                        <td>
                            <asp:TextBox ID="txtExDep" runat="server" MaxLength="50"></asp:TextBox>
                        </td>
                    </tr>
                     <tr>
                        <td>
                            异常操作时间：</td>
                        <td>
                            <asp:TextBox ID="txtExDate" runat="server" onClick="WdatePicker()" 
                                MaxLength="50"></asp:TextBox></td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                     <tr>
                        <td>
                            异常原因：</td>
                        <td colspan="3" style="text-align:left">
                            <asp:TextBox ID="txtExReason" runat="server" Height="64px" Width="351px" 
                                MaxLength="500" TextMode="MultiLine"></asp:TextBox>
                        </td>
                    </tr>
                     <tr>
                        <td>
                            异常依据：</td>
                        <td colspan="3" style="text-align:left">
                            <asp:TextBox ID="txtExBasis" runat="server" Height="64px" Width="351px" MaxLength="500"
                                TextMode="MultiLine"></asp:TextBox>
                        </td>
                    </tr>
                     <tr>
                        <td>
                            后续措施：</td>
                        <td colspan="3" style="text-align:left">
                            <asp:RadioButton ID="rbtnYes" runat="server"  Text="需流程管理方人工干预" GroupName="1"/>
                           <asp:RadioButton ID="rbtnNo" runat="server" Text="无需流程管理方人工干预" GroupName="1"/>
                        </td>
                    </tr>
                     <tr>
                        <td colspan="4" align="center" style="font-size:14px; font-weight:bold;text-align
                    :center"">
                           流程管理方核查记录信息</td>
                    </tr>
                     <tr>
                        <td>
                            核查人：</td>
                        <td>
                            <asp:TextBox ID="txtCheckUser" MaxLength="50" runat="server"></asp:TextBox></td>
                        <td>
                            &nbsp;
                            核查时间：</td>
                        <td>
                         <asp:TextBox ID="txtCheckDate" MaxLength="50" runat="server" onClick="WdatePicker()"></asp:TextBox>
                        </td>
                        </tr>
                        <tr>
                        <td>核查结果类型：</td>
                        <td style=" text-align:left">
                            <asp:DropDownList ID="drpResultList" runat="server">
                                <asp:ListItem Value="1">通过</asp:ListItem>
                                <asp:ListItem Value="0">不通过</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp; </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>核查结果描述：</td>
                        <td colspan="3" style="text-align:left">
                            <asp:TextBox ID="txtResultDes" runat="server" Height="64px" Width="351px" MaxLength="500"
                                TextMode="MultiLine"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td>是否属于违规异常：</td>
                        <td style=" text-align:left">
                            <asp:DropDownList ID="drpIsExlist" runat="server">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp; 违规异常操作次数：</td>
                        <td>
                            <asp:TextBox ID="txtCount" MaxLength="50" runat="server" style="ime-mode:disabled" onkeypress="CheckNum();"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>承担违规异常责任的单位名称：</td>
                        <td>
                            <asp:TextBox ID="txtDepName" runat="server" MaxLength="50"></asp:TextBox></td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>核查依据：</td>
                        <td colspan="3" style="text-align:left">
                            <asp:TextBox ID="txtChBasis" runat="server" Height="64px" Width="351px" 
                                TextMode="MultiLine" MaxLength="500"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td>核查结果：</td>
                        <td colspan="3" style="text-align:left">
                            <asp:TextBox ID="txtChResult" runat="server" Height="64px" Width="351px" MaxLength="500"
                                TextMode="MultiLine"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td>责任单位确认人：</td>
                        <td>
                           <asp:TextBox ID="txtQueUser" runat="server" MaxLength="50"></asp:TextBox></td>
                        <td>
                            &nbsp;
                            责任单位确认时间：</td>
                        <td>
                          <asp:TextBox ID="txtQueDate" runat="server" MaxLength="50" onClick="WdatePicker()"></asp:TextBox>
                        </td>
                    </tr>
                     <tr>
                        <td>确认结果类型：</td>
                        <td style=" text-align:left">
                            <asp:DropDownList ID="drpResulList" runat="server">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                     <tr>
                        <td>责任单位具体理由及意见：</td>
                        <td colspan="3" style="text-align:left">
                            <asp:TextBox ID="txtZeCause" runat="server" Height="64px" Width="351px" 
                                TextMode="MultiLine"></asp:TextBox></td>
                    </tr>
                     <tr>
                        <td>仲裁结论：</td>
                        <td colspan="3" style="text-align:left">
                          <asp:TextBox ID="txtJRes" runat="server" Height="64px" Width="351px" MaxLength="500"
                                TextMode="MultiLine"></asp:TextBox></td>
                    </tr>
                     <tr>
                        <td>仲裁结论签发人：</td>
                        <td>
                           <asp:TextBox ID="txtQianUser" MaxLength="50" runat="server"></asp:TextBox></td>
                        <td>
                            &nbsp;
                            仲裁结论签发时间：</td>
                        <td>
                           <asp:TextBox ID="txtQianDate" MaxLength="50" runat="server" onClick="WdatePicker()"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>核查附件：</td>
                        <td  colspan="2">
                           <asp:FileUpload ID="file" runat="server" />
                           </td>
                           <td> 
                           <asp:Button ID="btnUpload" runat="server" Text="上传附件" class="btnBg"
                        onclick="btnUpload_Click"  OnClientClick="return CheckFile();"/></td>
                    </tr>
                       <tr>
                        <td colspan="4">
                        <asp:GridView ID="gvUpLoadFile" runat="server"  onrowdatabound="gvUpLoadFile_RowDataBound"  DataKeyNames="UPLOAD_FILE_ID"
             onrowdeleting="gvUpLoadFile_RowDeleting" width="480px" AutoGenerateColumns="False" 
                        >
                        <Columns>
                            <asp:BoundField DataField="UPLOAD_FILE_ID" Visible="False" />
                            <asp:BoundField DataField="FILE_NAME" HeaderText="文件名称" />
                            <asp:BoundField DataField="UPLOAD_BY" HeaderText="上传人" />
                            <asp:BoundField DataField="UPLOAD_DATE" HeaderText="上传时间" />
                            <asp:CommandField ShowDeleteButton="True" />
                        </Columns>
                    </asp:GridView>
                        </td>
                    </tr>
                    <tr>
                        <td>是否为最终核查结果：</td>
                        <td style=" text-align:left">
                            <asp:DropDownList ID="drpIsLastResult" runat="server">
                                <asp:ListItem Value="1">是</asp:ListItem>
                                <asp:ListItem Value="0">否</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td>&nbsp;</td>
                        <td>
                            <asp:Button ID="btnSubmit" runat="server" Text="确定"  CssClass="btnBg" OnClientClick="return CheckAll();" OnClick="btnSubmit_Click"/>
                        </td>
                        <td>
                            <asp:Button ID="btnCancle" runat="server" Text="取消"  CssClass="btnBg" OnClick="btnCancle_Click"/>
                        </td>
                        <td>
                            &nbsp;
                        </td>
                    </tr>
                </table>
            </div>
            
        </div>
        <div id="Div1">
        </div>
    </div>
            </div>
        </div>
    </div>
    <asp:HiddenField ID="hidFlag" runat="server" />
        <asp:HiddenField ID="hidGuid" runat="server" />
    </form>
    
  
</body>
</html>



